Memory having parity error correction

ABSTRACT

A memory includes a sense amplifier segment and a plurality of word lines including a first transfer word line and a second transfer word line complementary to the first transfer word line. The memory includes a plurality of bit lines coupled to the sense amplifier segment and a memory cell located at each cross point of each word line and each bit line. The first transfer word line and the second transfer word line are adapted for simultaneously inverting data bit values stored in memory cells along a failed word line to correct a parity error during self refresh.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a Continuation-In-Part of U.S. patent application Ser. No. 11/153,795, entitled “MEMORY HAVING PARITY ERROR CORRECTION;” filed Jun. 15, 2005, and is incorporated herein by reference. This application is related to U.S. patent application Ser. No. 11/153,187 entitled “MEMORY HAVING PARITY GENERATION CIRCUIT;” filed Jun. 15, 2005, and is incorporated herein by reference.

BACKGROUND

Memory speed and memory capacity continue to increase to meet the demands of system applications. Some of these system applications include mobile electronic systems that have limited space and limited power resources. In mobile applications, such as cellular telephones and personal digital assistants (PDAs), memory cell density and power consumption are issues for future generations.

To address these issues, the industry is developing random access memories (RAMs) for mobile applications having low power consumption and including error correction.

Error correction code (ECC) calculates parity information and can determine if a bit has switched to an incorrect value. ECC can compare the parity originally calculated to the tested parity and make any corrections to correct for incorrect data values. In some cases, it is desirable to have ECC built directly onto a memory chip to provide greater memory chip reliability or to optimize other memory chip properties such as self refresh currents on low power dynamic RAMs (DRAMs). ECC circuitry, however, is typically associated with a large overhead due to additional memory elements used to store the parity information and additional logic circuitry used to calculate the parity information and error correction results. Typical ECC implementations may cost up to 50% of the memory chip area.

SUMMARY

One embodiment of the present invention provides a memory. The memory includes a sense amplifier segment and a plurality of word lines including a first transfer word line and a second transfer word line complementary to the first transfer word line. The memory includes a plurality of bit lines coupled to the sense amplifier segment and a memory cell located at each cross point of each word line and each bit line. The first transfer word line and the second transfer word line are adapted for simultaneously inverting data bit values stored in memory cells along a failed word line to correct a parity error during self refresh.

BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments of the invention are better understood with reference to the following drawings. The elements of the drawings are not necessarily to scale relative to each other. Like reference numerals designate corresponding similar parts.

FIG. 1 is a block diagram illustrating one embodiment of an electronic system, according to the present invention.

FIG. 2 is a diagram illustrating one embodiment of a memory cell in an array of memory cells.

FIG. 3 is a block diagram illustrating one embodiment of column segments of a random access memory.

FIG. 4 is a diagram illustrating one embodiment of a portion of a column segment of a random access memory.

FIG. 5 is a diagram illustrating one embodiment of transfer memory cells.

FIG. 6 is a block diagram illustrating one embodiment of a parity generation and parity compare circuit.

FIG. 7 is a flow diagram illustrating one embodiment of a method for correcting detected errors in a random access memory.

FIG. 8 is a block diagram illustrating another embodiment of an electronic system.

FIG. 9 is a diagram illustrating one embodiment of a portion of a row address latch and decoder.

FIG. 10 is a flow diagram illustrating another embodiment of a method for correcting detected errors in a random access memory.

DETAILED DESCRIPTION

FIG. 1 is a block diagram illustrating one embodiment of an electronic system 100, according to the present invention. Electronic system 100 includes a host controller 102 and a dynamic random access memory (DRAM) 104. DRAM 104 includes a parity circuit 116 for performing error detection using a parity bit approach during the self refresh (SRF) operation of DRAM 104. Self refresh enables DRAM 104 to refresh independent of external refresh circuitry to maintain user data in DRAM 104. DRAM 104 is configured to attempt an error correction if a parity error is detected by parity circuit 116. A detected error is corrected without determining the failing memory cell that caused the error. In one embodiment, the error detection and correction circuitry occupies less than approximately five percent of the memory chip area.

Host controller 102 is electrically coupled to DRAM 104 through memory communications path 106. Host controller 102 provides row and column addresses and control signals to DRAM 104 through memory communications path 106. In one embodiment, host controller 102 provides control signals including read/write enable, row address strobe (RAS), and column address strobe (CAS) signals. In one embodiment, DRAM 104 is a pseudo static random access memory (PSRAM) and host controller 102 provides control signals including static RAM (SRAM) control signals. Embodiments of the invention apply to DRAMs is general, including low power memory devices.

DRAM 104 includes an array of memory cells 122, a row address latch and decoder 120, a column address latch and decoder 112, a sense amplifier and input/output (I/O) circuit 114, a control circuit 110, an address register 118, and a parity circuit 116. Conductive word lines 128, referred to as row select lines, extend in the x-direction across the array of memory cells 122. Conductive bit lines 130, referred to as bit lines, extend in the y-direction across the array of memory cells 122. A memory cell 132 is located at each cross point of a word line 128 and a bit line 130 pair.

Each word line 128 is electrically coupled to row address latch and decoder 120, and each bit line 130 is electrically coupled to one of the sense amplifiers in sense amplifier and I/O circuit 114. Sense amplifier and I/O circuit 114 is electrically coupled to column address latch and decoder 112 through conductive column select lines 140. Also, sense amplifier and I/O circuit 114 is electrically coupled to row address latch and decoder 120 through communication lines 126 and to data I/O pads or pins, referred to as DQs, through I/O communications path 134. Data is transferred between sense amplifier and I/O circuit 114 in DRAM 104 and an external device, such as host controller 102, through I/O communications path 134. Sense amplifier and I/O circuit 114 is also coupled to parity circuit 116 through local data lines 138.

Host controller 102 is electrically coupled to control circuit 110 and address register 118 through memory communications path 106. Control circuit 110 is electrically coupled to row address latch and decoder 120, column address latch and decoder 112, and parity circuit 116 through control communications path 136. Address register 118 is electrically coupled to row address latch and decoder 120 and column address latch and decoder 112 through row and column address lines 124.

Control circuit 110 receives addresses and control signals from host controller 102 through memory communications path 106. In one embodiment, host controller 102 provides control signals including read/write enable, RAS, and CAS signals to control circuit 110. In one embodiment, DRAM 104 is a PSRAM and host controller 102 provides control signals including SRAM control signals to control circuit 110 that provides the DRAM control signals, such as read/write enable, RAS, and CAS signals. Control circuit 110 also provides signals to parity circuit 116 for generating parity information and checking for parity errors during self refresh of DRAM 104. Control circuit 110 receives parity mismatch signals from parity circuit 116 for initiating error correction for failing word lines.

Address register 118 receives row and column addresses from host controller 102 through memory communications path 106. Address register 118 supplies a row address to row address latch and decoder 120 through row and column address lines 124. Control circuit 110 supplies a RAS signal to row address latch and decoder 120 through control communications path 136 to latch the supplied row address into row address latch and decoder 120. Address register 118 supplies a column address to column address latch and decoder 112 through row and column address lines 124. Control circuit 110 supplies a CAS signal to column address latch and decoder 120 through control communications path 136 to latch the supplied column address into column address latch and decoder 112.

Row address latch and decoder 120 receives the row addresses and RAS signals and latches the row addresses into row address latch and decoder 120. Also, row address latch and decoder 120 decodes each of the row addresses to select a row of memory cells 132. In addition, row address latch and decoder 120 provides sense amplifier activation signals and equalization and precharge signals to sense amplifier and I/O circuit 114 through communications path 126.

Column address latch and decoder 112 activates column select lines 140 to connect sense amplifiers to I/O circuits in sense amplifier and I/O circuit 114. Column address latch and decoder 112 receives a column address and latches the column address into column address latch and decoder 112. Also, column address latch and decoder 112 decodes the column address to select addressed column select lines 140. In addition, column address latch and decoder 112 receives column select line activation signals from control circuit 110 through control communications path 136. The column select line activation signals indicate which of the addressed column select lines 140 are to be activated by column address latch and decoder 112. Column address latch and decoder 112 activates column select lines 140 that are addressed by the column address and selected for activation by the column select line activation signals. Activated column select lines 140 are provided to sense amplifier and I/O circuit 114 to connect sense amplifiers to I/O circuits.

Column select lines 140 are grouped into column segments. Each column segment includes a group of column select lines 140 that correspond to a set of sense amplifiers and I/O circuits. Multiple column select lines 140 in a column segment can share one I/O circuit in the set of I/O circuits, alternatively connecting a sense amplifier to the shared I/O circuit. Column select lines 140 in an adjacent column segment connect sense amplifiers to a different corresponding set of I/O circuits.

Sense amplifier and I/O circuit 114 includes sense amplifiers, equalization and precharge circuits, data input buffers, and data output buffers. The sense amplifiers are differential input sense amplifiers and each sense amplifier receives one bit line at each of the two differential inputs. One of the bit lines receives a data bit from a selected memory cell and the other bit line is used as a reference. The equalization and precharge circuits equalize the voltage on bit lines connected to the same sense amplifier prior to a read or write operation.

To read a data bit, a sense amplifier amplifies the difference between the data bit value and the reference value and provides a sensed output value to one of the data output buffers. The data output buffer receives the sensed data bit value and supplies the data bit to one or more external devices, such as host controller 102, through I/O communications path 134. To write a data bit, a data input buffer receives and transfers the data bit from an external device to a sense amplifier in sense amplifier and I/O circuit 114 through I/O communications path 134. Data input buffer drivers overdrive the sense amplifier, wherein one input driver overdrives the data bit value onto the bit line that is connected to a selected memory cell and another input driver overdrives the inverse of the data bit value onto the reference bit line. The sense amplifier writes the received data bit value into the selected memory cell 132.

During a read operation, control circuit 110 receives read control signals and address register 118 receives the row address of a selected memory cell or cells 132. The row address is supplied from address register 118 to row address latch and decoder 120 and latched into row address latch and decoder 120 by control circuit 110 and a RAS signal. Row address latch and decoder 120 decodes the row address and activates the selected word line 128. As the selected word line 128 is activated, the value stored in each memory cell 132 coupled to the selected word line 128 is passed to the respective bit line 130. The bit value stored at a memory cell 132 is detected by a sense amplifier that is electrically coupled to the respective bit line 130.

Next, control circuit 110 and address register 118 receive the column address of the selected memory cell or cells 132. The column address is supplied from address register 118 to column address latch and decoder 112 and latched into column address latch and decoder 112 by control circuit 110 and a CAS signal. The column address latch and decoder 112 decodes the column address to select column select lines 140. The column select lines are activated to connect selected sense amplifiers to I/O circuits that pass data to an external device through I/O communications path 134.

During a write operation, data to be stored in the array of memory cells 122 is supplied from an external device to the DQ's and data input buffers through I/O communications path 134. Control circuit 110 receives write control signals and address register 118 receives the row address of a selected memory cell or cells 132. The row address is supplied from address register 118 to row address latch and decoder 120 and latched into row address latch and decoder 120 by control circuit 110 and a RAS signal. The row address latch and decoder 120 decodes the row address and activates the selected word line 128. As the selected word line 128 is activated, the value stored in each memory cell 132 coupled to the selected word line 128 is passed to the respective bit line 130 and the sense amplifier that is electrically coupled to the respective bit line 130.

Next, control circuit 110 and address register 118 receive the column address of the selected memory cell or cells 132. Address register 118 supplies the column address to column address latch and decoder 112 and the column address is latched into column address latch and decoder 112 by control circuit 110 and a CAS signal.

Column address latch and decoder 112 receives column select line activation signals from control circuit 112 and activates selected column select lines to connect input buffers to sense amplifiers. The input buffers pass data from an external device to the sense amplifiers through I/O communications path 134. Also, the input buffers overdrive the sense amplifiers to write data to the selected memory cell or cells 132 through bit lines 130.

During self refresh of DRAM 104, parity circuit 116 calculates parity information for the entire memory array 122 and periodically compares the parity information of memory array 122 with the initially calculated parity information to detect failing memory cells 132. When a word line 128 is activated during a refresh operation during self refresh, the information in the memory cells 132 is sensed by sense amplifiers 114. Sense amplifiers 114 simultaneously sense the values stored in all memory cells 132 along the activated word line 128.

For a normal read/write operation, one column select line 140 is activated to pass the data bit value of one memory cell 132 onto a local data line (LDQ) for passing the data bit value to an I/O circuit. During self refresh, LDQs 138 are coupled to parity circuit 116, and column select lines 140 are used to serially pass memory cell 132 data bit values for the activated word line to parity circuit 116 through LDQs 138. The data bit values are passed to parity circuit 116 by performing a burst activation through all column select lines 140 (excluding a parity column select line) along the activated word line for the column segment. The burst activation through column select lines 140 results in a string of logic high and logic low data signals indicating the data bit values stored in memory cells 132 along the activated word line.

The string of data bit values is received by parity circuit 116 to determine the parity of the data bit values stored in memory cells 132 along the activated word line. In one embodiment, the parity of the data bit values for the activated word line is stored in memory array 122 in a memory cell 132 on the end of the activated word line. During self refresh, after the initial (correct) parity information for memory array 122 is determined and stored, the parity of the data bit values stored in memory cells 132 along each word line is periodically determined and compared to the stored parity information. If the stored parity does not match the current parity, an attempt is made to correct the failing memory cell data.

FIG. 2 is a diagram illustrating one embodiment of a memory cell 132 in the array of memory cells 122. Memory cell 132 includes a transistor 150 and a capacitor 152. The gate of transistor 150 is electrically coupled to a word line 128. One side of the drain-source path of transistor 150 is electrically coupled to a bit line 130 and the other side of the drain-source path is electrically coupled to one side of capacitor 152. The other side of capacitor 152 is electrically coupled to a reference 154, such as one-half the supply voltage or ground. Capacitor 152 is charged and discharged to represent a logic “0” or a logic “1”.

During a read operation, word line 128 is activated to turn on transistor 150 and the data bit value stored on capacitor 152 is read by a sense amplifier through bit line 130. During a write operation, word line 128 is activated to turn on transistor 150 and access capacitor 152. The sense amplifier connected to bit line 130 is overdriven to write a data bit value on capacitor 152 through bit line 130 and transistor 150.

A read operation on memory cell 132 is a destructive read operation. After each read operation, capacitor 152 is recharged or discharged to the data bit value that was just read. In addition, even without read operations, the charge on capacitor 152 discharges over time. To retain a stored data bit value, memory cell 132 is refreshed periodically by reading and/or writing memory cell 132, such as during self refresh. All memory cells 132 in the array of memory cells 122 are periodically refreshed to maintain their values.

FIG. 3 is a block diagram illustrating one embodiment of column segments 170 a-170 d of DRAM 104. Column segment 170 a includes sense amplifier bank or segment 114 a including bit switches and LDQ one (LDQ_1) 138 a. Sense amplifier bank 114 a is electrically coupled to bit lines (BLs) 130 a. Word line one (WL_1) and other word lines (not shown) extend across bit lines 130 a. A memory cell 132 (not shown) is located at each cross point of a bit line 130 a pair and WL_1 128 a. Column segment 170 b includes sense amplifier bank or segment 114 b including bit switches and LDQ two (LDQ_2) 138 b. Sense amplifier bank 114 b is electrically coupled to bit lines 130 b. Word line two (WL_2) and other word lines (not shown) extend across bit lines 130 b. A memory cell 132 (not shown) is located at each cross point of a bit line 130 b pair and WL_2 128 b.

Column segment 170 c includes sense amplifier bank or segment 114 c including bit switches and LDQ three (LDQ_3) 138 c. Sense amplifier bank 114 c is electrically coupled to bit lines 130 c. Word line three (WL_3) and other word lines (not shown) extend across bit lines 130 c. A memory cell 132 (not shown) is located at each cross point of a bit line 130 c pair and WL_3 128 c. Column segment 170 d includes sense amplifier bank or segment 114 d including bit switches and LDQ four (LDQ_4) 138 d. Sense amplifier bank 114 d is electrically coupled to bit lines 130 d. Word line four (WL_4) 128 d and other word lines (not shown) extend across bit lines 130 d. A memory cell 132 (not shown) is located at each cross point of a bit line 130 d pair and WL_4 128 d. Column select lines (CSLs) 140 a-140 f and other CSLs (not shown) are electrically coupled to sense amplifier banks 114 a, 114 b, 114 c, and 114 d.

Parity is determined for all word lines quickly after self refresh entry before the refresh interval for memory cells 132 is reduced from a user controlled refresh interval (for example, 64 ms) to a higher self refresh interval (for example, 150 ms or higher). In one embodiment, DRAM 104 is refreshed and parity is calculated for the entire memory array 122 very quickly after the self refresh entry by performing multi-word line activations. Column select lines 140 a-140 f simultaneously control the bit switches (i.e. the connection of bit lines 130 a-130 d to LDQs 138 a-138 d) in sense amplifier banks 114 a-114 d. Therefore, the column select line burst acts on all the word lines selected in parallel and enables parallel calculation of the parity of the selected word lines since the parity generation and compare circuitry is not shared between column segments 170-170 d. The impact on current usage is minimal since the current drops to the expected self refresh current very shortly (for example, 64 ms) after self refresh entry. The time it takes the current to drop to the expected self refresh current if multi-word line activations are not used is equal to the user retention time (for example, 64 ms).

During self refresh, column select lines 140 a-140 f are used to serially pass data bit values to parity circuit 116 through LDQs 138 a-138 d. The data bit values are serially passed to parity circuit 116 by performing a burst activation through all column select lines 140 a-140 f with a word line within each column segment 170 a-170 b activated. The burst activation through column select lines 140 a-140 f results in a string of data signals on LDQs 138 a-138 d indicating the data bit values stored in memory cells 132 along the activated word lines.

For example, to calculate parity simultaneously for multiple word lines, WL_1 128 a through WL_4 128 d are activated simultaneously. The data stored in the memory cells 132 at the cross points of WL_1 128 a through WL_4 128 d and bit lines 130 a-130 d are passed to sense amplifier banks 114 a-114 d, respectively. A column select line burst is performed by activating column select lines 140 a-140 f sequentially based on a clock signal. This generates serial data output streams on LDQ lines 138 a-138 d. The serial data stream for each column segment 170 a-170 d is passed to parity circuit 116. Parity circuit 116 determines the correct parity of the data upon entry to self refresh and then periodically determines the parity of the data during self refresh. The correct parity is compared to the current parity to check for errors.

The frequency of the column select line 140 burst can be relatively relaxed and still fit into the interval between two word line refreshes during self refresh. In one embodiment, the column select line burst is divided into subsections between LDQs within DRAM 104. In another embodiment, the column select line burst is used to refresh data along several word lines simultaneously with longer periods between refreshes.

After the initial parity determination upon self refresh entry, the frequency of parity generation and compare for checking for errors during self refresh is based on a tradeoff between the robustness of the ECC against errors versus the additional operating current of DRAM 104. In one embodiment, for minimal current usage, one word line per complete self refresh interval is selected for the parity evaluation. In this embodiment, it would take the number of word lines times the length of the self refresh interval to check the entire chip for errors. For example, for a 256M device with 8k word lines and a self refresh interval of 150 ms, it would take approximately 20 minutes to check the entire chip. In another embodiment, for maximum error detection, error checking is performed on every word line per self refresh interval. In this embodiment, it would take approximately 150 ms to check the entire chip, but the column select line current would contribute to the self refresh current. In one embodiment, to minimize the impact of the column select line activation current, several word lines that share a common column select line are refreshed and evaluated simultaneously as illustrated and described above. The overall power consumption of DRAM 104 is reduced, however, the self refresh current may show more pronounced peaks as multiple word lines are refreshed.

FIG. 4 is a diagram illustrating one embodiment of column segment 170 a. Column segments 170 b-170 d, and other column segments in DRAM 104, are similar to column segment 170 a. Column segment 170 a includes sense amplifier bank 114 a including bit switches 200 a, 200 b, and 200 c and sense amplifiers 202 a, 202 b, and 202 c. In one embodiment, bit switches 200 a, 200 b, and 200 c are transistors. Column segment 170 a includes word lines 128 e-128 j, bit lines 130 e-130 j, and memory cells 132 a-132 r. In one embodiment, word lines 128 e, 128 g, and 128 i are true word lines, and word lines 128 f, 128 h, and 128 j are complement word lines. In one embodiment, bit lines 130 e, 130 g, and 130 i are true bit lines, and bit lines 130 f, 130 h, and 130 j are complement bit lines.

The memory cells, such as memory cells 132 a, 132 c, 132 e, etc. at each cross point of a true word line 128 e, 128 g, and 128 i and a true bit line 130 e, 130 g, and 130 i are true memory cells. The memory cells, such as memory cells 132 b, 132 d, 132 f, etc. at each cross point of a complement word line 128 f, 128 h, and 128 j and a complement bit line 130 f, 130 h, and 130 j are complement memory cells. For a true memory cell, a logic high memory cell value sensed by the sense amplifier is output by the sense amplifier as a logic high data bit value. For a complement memory cell, a logic high memory cell value sensed by the sense amplifier is output by the sense amplifier as a logic low data bit value.

One side of sense amplifier 202 a is electrically coupled to true bit line 130 e and complement bit line 130 f. The other side of sense amplifier 202 a is electrically coupled to one side of the drain source path of transistor 200 a. The other side of the drain source path of transistor 200 a is electrically coupled to LDQ_1 138 a. The gate of transistor 200 a receives a column select line activation signal on CSL 140 a. In response to a logic high column select line activation signal on CSL 140 a, transistor 200 a turns on to pass a sensed memory cell data bit value from sense amplifier 202 a to LDQ_1 138 a or pass a data bit value for writing to a memory cell from LDQ_1 138 a to sense amplifier 202 a. In response to a logic low column select line activation signal on CSL 140 a, transistor 202 a turns off to block the transfer of data between sense amplifier 202 a and LDQ_1 138 a.

One side of sense amplifier 202 b is electrically coupled to true bit line 130 g and complement bit line 130 h. The other side of sense amplifier 202 b is electrically coupled to one side of the drain source path of transistor 200 b. The other side of the drain source path of transistor 200 b is electrically coupled to LDQ_1 138 a. The gate of transistor 200 b receives a column select line activation signal on CSL 140 b. In response to a logic high column select line activation signal on CSL 140 b, transistor 200 b turns on to pass a sensed memory cell data bit value from sense amplifier 202 b to LDQ_1 138 a or pass a data bit value for writing to a memory cell from LDQ_1 138 a to sense amplifier 202 b. In response to a logic low column select line activation signal on CSL 140 b, transistor 202 b turns off to block the transfer of data between sense amplifier 202 b and LDQ_1 138 a.

One side of sense amplifier 202 c is electrically coupled to true bit line 130 g and complement bit line 130 j. The other side of sense amplifier 202 c is electrically coupled to one side of the drain source path of transistor 200 c. The other side of the drain source path of transistor 200 c is electrically coupled to LDQ_1 138 a. The gate of transistor 200 c receives a column select line activation signal on CSL 140 c. In response to a logic high column select line activation signal on CSL 140 c, transistor 200 c turns on to pass a sensed memory cell data bit value from sense amplifier 202 c to LDQ_1 138 a or pass a data bit value for writing to a memory cell from LDQ_1 138 a to sense amplifier 202 c. In response to a logic low column select line activation signal on CSL 140 c, transistor 202 c turns off to block the transfer of data between sense amplifier 202 c and LDQ_1 138 a.

In one embodiment, word line fail (WL_F) 128 f represents a word line having a failed memory cell, such as memory cell 132 b, 132 d, or 132 f. Word line spare (WL_S) 128 h represents a spare word line in column segment 170 a. WL_S 128 h is used to replace a failed word line, such as WL_F 128 f. WL_TC1 128 i represents a first transfer cell word line and WL_TC2 128 j represents a second transfer cell word line for column segment 170 a. Memory cells 132 m-132 r along WL_TC1 128 i and WL_TC2 128 j are transfer memory cells for inverting data as described in further detail below with reference to FIG. 5. Memory cell 132 m is electrically shorted to memory cell 132 n through signal path 210 a. Memory cell 132 o is electrically shorted to memory cell 132 p through signal path 210 b. Memory cell 132 q is electrically shorted to memory cell 132 r through signal path 210 c.

During self refresh, LDQ_1 138 a passes serial data to parity circuit 116 in response to a column select line burst. For example, to provide the data bit values stored in memory cells 132 b, 132 d, and 132 f along WL_F 128 f, WL_F 128 f is activated after equalization and precharge circuits equalize the voltage on bit lines 130 e-130 j connected to sense amplifiers 202 a-202 c. The data bit values stored in memory cells 132 b, 132 d, and 132 f are passed to sense amplifiers 202 a-202 c, respectively. A column select line burst is performed by activating CSLs 140 a-140 c sequentially based on a clock signal to sequentially turn on transistors 200 a-200 c. The column select line burst generates serial data output on LDQ_1 138 a including the data bit values stored in memory cells 132 b, 132 d, and 132 f. The serial data is passed to parity circuit 116.

FIG. 5 illustrates one embodiment of transfer cells 250. Transfers cells 250 include memory cell 132 m and memory cell 132 n. Memory cell 132 m includes transistor 150 a and capacitor 152 a, and memory cell 132 n includes transistor 150 b and capacitor 152 b. The gate of transistor 150 a is electrically coupled to WL_TC1 128 i. The drain source path of transistor 150 a is electrically coupled between bit line 130 e and one side of capacitor 152 a. The other side of capacitor 152 a is electrically coupled to reference signal 154, such as one-half the supply voltage or ground. The gate of transistor 150 b is electrically coupled to WL_TC2 128 j. The drain source path of transistor 150 b is electrically coupled between bit line 130 f and one side of capacitor 152 b. The other side of capacitor 152 b is electrically coupled to reference signal 154, such as one-half the supply voltage or ground. Capacitor 152 a is electrically coupled to capacitor 152 b through signal path 210 a.

Capacitor 152 a is charged and discharged to represent a logic “0” or a logic “1”. During a read operation, WL_TC1 128 i is activated to turn on transistor 150 a and the value stored on capacitors 152 a and 152 b is read by sense amplifier 202 a through true bit line 130 e. During a write operation, WL_TC1 128 i is activated to turn on transistor 150 a and access capacitors 152 a and 152 b. Sense amplifier 202 a connected to true bit line 130 e is overdriven to write a data value on capacitors 152 a and 152 b through true bit line 130 e and transistor 150 a.

Capacitor 152 b is charged and discharged to represent a logic “0” or a logic “1”. During a read operation, WL_TC2 128 j is activated to turn on transistor 150 b and the value stored on capacitors 152 a and 152 b is read by sense amplifier 202 a through complement bit line 130 f. During a write operation, WL_TC2 128 j is activated to turn on transistor 150 b and access capacitors 152 a and 152 b. Sense amplifier 202 a connected to complement bit line 130 f is overdriven to write a data value on capacitors 152 a and 152 b through complement bit line 130 e and transistor 150 b.

Capacitors 152 a and 152 b store the same voltage level and are complementary memory cells coupled through true and complement bit lines 130 e and 130 f, respectively, to differential inputs of sense amplifier 202 a. The logic level stored in memory cell 132 m as sensed by sense amplifier 202 a is the inverse of the logic level stored in memory cell 132 n, and the logic level stored in memory cell 132 n as sensed by sense amplifier 202 a is the inverse of the logic level stored in memory cell 132 m. By first activating WL_TC1 128 i with WL_TC2 128 j inactive and writing a logic level to memory cell 132 m and then activating WL_TC2 128 j with WL_TC1 128 i inactive and reading the logic level of memory cell 132 n, the logic level sensed by sense amplifier 202 a of memory cell 132 n is the inverse of the logic level written to memory cell 132 m.

The transfer memory cells along WL_TC1 128 i and WL_TC2 128 j are used to simultaneously invert the data bit values stored in all memory cells along another word line in column segment 170 a. For example, to invert the data bit values stored in memory cells 132 b, 132 d, and 132 f coupled to WL_F 128 f, equalization and precharge circuits equalize the voltage on bit lines 130 e-130 j connected to sense amplifiers 202 a-202 c. Next, WL_F 128 f is activated and sense amplifier 202 a senses the data bit value bit stored in memory cell 132 b, sense amplifier 202 b senses the data bit value stored in memory cell 132 d, and sense amplifier 202 c senses the data bit value stored in memory cell 132 f. With sense amplifiers 202 a-202 c still set, WL_F 128 f is deactivated and WL_TC1 128 i is activated to write the sensed data bit values to memory cells 132 m, 132 o, and 132 q, which also writes the sensed data bit values to the capacitors of memory cells 132 n, 132 p, and 132 r. Next, WL_TC1 128 i is deactivated and the equalization and precharge circuits equalize the voltage on bit lines 130 e-130 j. Activating WL_TC2 results in sense amplifiers 202 a-202 c sensing the logical data bit values stored in memory cells 132 n, 132 p, and 132 r, which are now the inverse of the logical data bit values stored in memory cells 132 m, 132 o, and 132 q. The inverted data bit values can then be written to another word line by activating another word line, such as WL_S 128 h, with sense amplifiers 202 a-202 c still set.

FIG. 6 is a block diagram illustrating one embodiment of a parity generation and parity compare circuit 116 a. Parity generation and parity compare circuit 116 a is configured for generating and comparing parity information for column segment 170 a. There is one parity generation and parity compare circuit similar to parity generation and parity compare circuit 116 a for each column segment in DRAM 104, such as column segments 170 b-170 d. Parity generation and parity compare circuit 116 a includes parity generation circuit 300, parity compare circuit 316, and memory cells 132 w-132 z for storing parity information. Parity generation circuit 300 and parity compare circuit 316 are part of parity circuit 116, and memory cells 132 w-132 z are part of memory array 122. Parity generation circuit 300 passes parity information to memory cells 132 w-132 z and to parity compare circuit 316 through communication path 330. Parity compare circuit 316 receives stored parity information from memory cells 132 w-132 z through communication path 332. Parity compare circuit 316 compares parity data received from parity generation circuit 300 and memory cells 132 w-132 z to provide a parity mismatch signal on control communications path 136.

Parity generation circuit 300 includes AND gate 304, delay (D) type flip-flop 308, and inverter 312. A first input of AND gate 304 receives the LDQ signal on LDQ_1 138 a, and a second input of AND gate 304 receives a clock (CLK) signal on CLK signal path 302. The output of AND gate 304 is electrically coupled to the clock (CK) input of flip-flop 308 through signal path 306. The data output (Q) of flip-flop 308 is electrically coupled to the input of inverter 312 through signal path 310. The output of inverter 312 is electrically coupled to the data input (D) of flip-flop 308 through signal path 314.

Flip-flop 308 is initialized to a logic low before each parity determination. AND gate 304 receives serial data streams (data bit values stored in memory cells along an activated word line) on LDQ_1 138 a and a CLK signal, which clocks the column select line burst, on CLK signal path 302. In response to a logic high LDQ signal and a logic high CLK signal, AND gate 304 outputs a logic high signal on signal path 306. With a logic high signal on signal path 306, Flip-flop 308 passes the signal on signal path 314 to signal path 310. Inverter 312 inverts the signal on signal path 310 to provide the signal on signal path 314. Flip-flop 308 toggles each time a logic high data bit value is received in the serial data stream on LDQ_1 138 a. After the entire serial data stream from the column select line burst for the selected word line 128 has been received by parity generation circuit 300, the output (Q) of flip-flop 308 provides on signal path 310 the parity of the data bit values. The parity data bit value for each word line in column segment 170 a is stored in one memory cell of memory cells 132 w-132 z.

Each memory cell 132 w-1132 z includes a transistor 150 and a capacitor 152. The gate of transistor 150 is electrically coupled to a word line 128. One side of the drain-source path of transistor 150 is electrically coupled to a bit line 130 and the other side of the drain-source path is electrically coupled to one side of capacitor 152. The other side of capacitor 152 is electrically coupled to a reference 154, such as one-half the supply voltage or ground. Capacitor 152 is charged and discharged to represent a logic “0” or a logic “1” for storing the parity of the data bit values stored in memory cells 132 along a selected word line 128.

Memory cells 132 w-132 z provide one storage location for each word line in column segment 170 a for storing the parity information (e.g., 8k parity memory for a 256M chip). In one embodiment, memory cells 132 w-132 z are controlled by one additional column select line 140 (i.e., parity column select line) at the end of word lines 128 of column segment 170 a. This parity column select line 140 is excluded from the column select line burst. The parity column select line is activated after completion of the column select line burst to write the parity information from parity generation circuit 300 into the appropriate parity memory cell 132 w-132 z.

Compare circuit 316 includes an exclusive OR (XOR) gate 318. A first input of XOR gate 318 receives a generated parity signal on signal path 320 from communication path 330, and a second input of XOR gate 318 receives a stored parity signal on signal path 322 from communication path 332. The output of XOR gate 318 provides a parity mismatch signal on parity mismatch signal path 324 to pass to control communications path 136. If the generated parity equals the stored parity, XOR gate 318 outputs a logic low signal on parity mismatch signal path 324 for the activated word line. If the generated parity does not match the stored parity, XOR gate 318 outputs a logic high signal on parity mismatch signal path 324 to indicate a parity mismatch for the activated word line. The parity mismatch signal for the activated word line is passed to control circuit 110 through control communications path 136 to initiate the error correction process.

Upon entry to self refresh, parity generation circuit 300 generates parity information for all word lines 128 (one at a time) in column segment 170 a and stores the parity information in memory cells 132 w-132 z as the correct parity information. During self refresh, on a selected schedule, parity generation circuit 300 again generates the parity information for word lines 128 in column segment 170 a. Parity compare circuit 316 compares the correct parity information stored in memory cells 132 w-132 z to the newly generated parity information from parity generation circuit 300. If the parity information stored in memory cells 132 w-132 z does not match the newly generated parity information from parity generation circuit 300, parity compare circuit 316 provides a parity mismatch signal to initiate the error correction process for the word line 128 having a failing memory cell. If the parity information stored in memory cells 132 w-132 z matches the newly generated parity information from parity generation circuit 300, the parity checking for words lines 128 in column segment 170 a continues on the selected schedule until self refresh exit.

Since the parity information for specific word lines 128 is periodically generated during self refresh and compared to the initially determined parity information obtained right after self refresh entry, occasionally there is a mismatch between the generated parity information and the stored parity information indicating an error. The following description describes how an error is corrected without knowing the address of the failing memory cell along the activated word line. This method is effective for all “stuck at” single cells (e.g., retention fails).

FIG. 7 is a flow diagram illustrating one embodiment of a method 400 for correcting errors detected by parity circuit 116 a in column segment 170 a. A similar process applies to all column segments in DRAM 104. Method 400 can detect and repair retention fails, which is the dominant fail mechanism for low powered DRAMS during self refresh. At 402, for example, a parity mismatch is detected by parity circuit 116 a for WL_F 128 f. The equalization and precharge circuits do not equalize the voltage on bit lines 130 e-130 j such that sense amplifiers 202 a-202 c stay set with the data bit values stored in memory cells 132 b, 132 d, and 132 f along WL_F 128 f. At 404, the data bit values stored in memory cells 132 b, 132 d, and 132 f along WL_F 128 f are written to memory cells 132 h, 132 j, and 1321 along WL_S 128 h by activating WL_S 128 h while sense amplifiers 202 a-202 c are still set. At the same time, the address for WL_F 128 f is externally mapped to WL_S 128 h. If self refresh exits before the completion of the error correction procedure, WL_S 128 h is used in place of WL_F 128 f.

At 406, the data bit values stored memory cells 132 b, 132 d, and 132 f are written to memory cells 132 m, 132 o, and 132 q along WL_TC1 128 i by activating WL_TC1 128 i while sense amplifiers 202 a-202 c are still set. The data written to memory cells 132 m, 132 o, and 132 q is also transferred to memory cells 132 n, 132 p, and 132 r. At 408, all the word lines are deactivated and the equalization and precharge circuits equalize the voltage on bit lines 130 e-130 j. At 410, after the precharge time (tRP) expires, WL_TC2 128 j is activated to enable sense amplifiers 202 a-202 c to sense the logical data bit values stored in transfer memory cells 132 n, 132 p, and 132 r along bit lines 130 f, 130 h, and 130 j thus inverting the logical data bit values. At 412, the data bit values stored in memory cells 132 n, 132 p, and 132 r along WL_TC2 128 j are written to memory cells 132 b, 132 d, and 132 f along WL_F 128 f by activating WL_F 128 f while sense amplifiers 202 a-202 c are still set. At 414, all the word lines are deactivated and the equalization and precharge circuits equalize the voltage on bit lines 130 e-130 j. In one embodiment, blocks 402 through 414 are performed in approximately two times the activate and deactivate time (tRC) for a word line or approximately 150 ns. Therefore, the operations do not disrupt the normal refresh cycle, which is typically about 20 μs between word line activations in self refresh.

At 416, after a complete refresh cycle, WL_F 128 f is activated to sense the inverted data bit values stored in memory cells 132 b, 132 d, and 132 f. The fail should reoccur along WL_F 128 f. Therefore, the sensed data bit values should be the inverse of the correct data bit values including the failing memory cell. At 416, after a complete refresh cycle, WL_F 128 f is activated to sense the inverted data bit values stored in memory cells 132 b, 132 d, and 132 f. At 418, the data bit values stored in memory cells 132 b, 132 d, and 132 f along WL_F 128 f are written to memory cells 132 m, 132 o, and 132 p along WL_TC1 128 i by activating WL_TC1 128 i while sense amplifiers 202 a-202 c are still set.

At 420, all the word lines are deactivated and the equalization and precharge circuits equalize the voltage on bit lines 130 e-130 j. At 422, after tRP expires, WL_TC2 128 j is activated to sense the logical data bit values stored in transfer memory cells 132 n, 132 p, and 132 r along bit lines 130 f, 130 h, and 130 j thus inverting the data. At 424, the logical data bit values stored in memory cells 132 n, 132 p, and 132 r along WL_TC2 128 j are written to memory cells 132 h, 132 j, and 1321 along WL_S 128 h by activating WL_S 128 h while sense amplifiers 202 a-202 c are still set. At 426, all the word lines are deactivated and the equalization and precharge circuits equalize the voltage on bit lines 130 e-130 j to prepare for the next read or write operation. Memory cells 132 h, 132 j, and 1321 along WL_S 128 h now store the corrected data bit values from memory cells 132 b, 132 d, and 132 f along WL_F 128 f. WL_S 128 h is then used in place of WL_F 128 f upon self refresh exit.

Method 400 does not affect the timing of the self refresh. In particular, method 400 does not affect the exit timing of the self refresh. In addition, method 400 is based on the true and complement bit line split in the sense amplifiers. Therefore, method 400 is completely independent of any bit line twist scheme. Method 400 also does not change based on whether WL_F 128 f, WL_S 128 h, WL_TC1 128 i, and WL_TC2 128 j are true, complement, or mixed word lines. Method 400 results in the external access to WL_F 128 f being remapped to WL_S 128 h, which now contains all correct data. In one embodiment, each column segment 170 has one spare word line dedicated to error correction. Therefore, one error correction in a specific column segment 170 uses the spare word line and the error detection and correction in the specific column segment 170 is discontinued. In another embodiment, any error correction in memory array 122 discontinues the error detection and correction in DRAM 104.

In one embodiment, permanent repair of the faulty memory element is performed. The correction of the error and remapping of the external word line address to the spare word line can be made permanent, even if the power is completely removed from DRAM 104. In one embodiment, as DRAM 104 operates in self refresh (either for testing or during consumer use) DRAM 104 essentially tests and repairs itself. To permanently repair a faulty memory cell, the remapping information is stored in a set of fuses, such as electrically activated fuses, which retain the information if the power is removed. The actual fusing could be performed when a self refresh exit request from the user is detected. The details of the fusing operation depend on the design of the fuses.

FIG. 8 is a block diagram illustrating another embodiment of an electronic system 101. In electronic system 101, a spare word line such as WL_S 128 h (FIG. 4) is not used for correcting a parity error. In electronic system 101, the inverted data remains on the failed word line, such as WL_F 128 f. Electronic system 101 is similar to electronic system 100, except electronic system 101 includes a modified DRAM 105. DRAM 105 is similar to DRAM 104 except DRAM 105 includes data circuit 508. An input of data circuit 508 is electrically coupled to row address latch and decoder 120 through signal path 506. Data circuit 508 is electrically coupled to sense amplifier and I/O circuit 114 through I/O communications path 134 a and to data I/O pads or pins, referred to as DQs, through I/O communications path 134 b.

Data is transferred between sense amplifier and I/O circuit 114 in DRAM 105 and an external device, such as host controller 102, through I/O communications path 134 a, data circuit 508, and I/O communications path 134 b. In response to a logic high signal on signal path 506, data circuit 508 inverts the data on I/O communications path 134 a and provides the inverted data on I/O communications path 134 b. In response to a logic low signal on signal path 506, data circuit 508 passes the data on I/O communications path 134 a to I/O communication path 134 b without inverting the data.

FIG. 9 is a diagram illustrating one embodiment of a portion 120 a of row address latch and decoder 120 of DRAM 105 for one column segment 170. Portion 120 a includes latches 504 e-504(z), where z equals the number of word lines in a column segment 170. The enable input (EN) of each latch 504 e-504(z) is electrically coupled to a word line 128 e-128(z). The set/reset (S/R) input of each latch 504 e-504(z) receives a set/reset signal on signal paths 502 e-502(z). In one embodiment, control circuit 110 provides the set/reset signals. The output (OUT) of each latch 504 e-504(z) provides a signal on signal path 506 indicating a failed word line, such as WL_F 128 f.

In response to an active word line 128 e-128(z), the output of the corresponding latch 504 e-504(z) is enabled. In response to a non-active word line 128 e-128(z), the output of the corresponding latch 504 e-504(z) is disabled and is high impedance. Initially, latches 504 e-504(z) store logic low values indicating the data along the corresponding word line 128 e-128(z) is not inverted. In response to a first logic high signal on a signal path 502 e-502(z), the corresponding latch 504 e-504(z) stores a logic high value indicating the corresponding word line 128 e-128(z) has failed and the data stored along the word line is inverted. In response to a second logic high signal on a signal path 502 e-502(z), the corresponding latch 504 e-504(z) stores a logic low value indicating the corresponding word line 128 e-128(z) has not failed and the data stored along the word line is not inverted.

In operation, an active word line 128 e-128(z) enables the corresponding latch 504 e-504(z). With a latch 504 e-504(z) enabled, the latch outputs the value stored in the latch on signal path 506 indicating the state of the data stored along the active word line 128 e-128(z). A logic high signal on signal path 506 indicates a failed word line, and a logic low signal on signal path 506 indicates a non-failed word line. In response to a logic high signal on signal path 506, data circuit 508 passes and inverts the data on I/O communications path 134 a from the word line to I/O communications path 134 b. In response to a logic low signal on signal path 506, data circuit 508 passes the data on I/O communications path 134 a from the word line to I/O communications path 134 b without inverting the data.

In another embodiment, the addresses of failed word lines are stored in a central latch in place of latches 504. In this embodiment, the selected row address is compared to the addresses in the central latch. If the selected row address matches an address in the central latch, the central latch provides a signal on signal path 506 to invert the data in data circuit 508.

FIG. 10 is a flow diagram illustrating one embodiment of a method 600 for correcting errors detected by parity circuit 116 a in column segment 170 a for DRAM 105. A similar process applies to all column segments in DRAM 105. Method 600 can detect and repair retention fails, which is the dominant fail mechanism for low powered DRAMs during self refresh. At 602 and with reference to FIG. 4, for example, a parity mismatch is detected by parity circuit 116 a for WL_F 128 f. The equalization and precharge circuits do not equalize the voltage on bit lines 130 e-130 j such that sense amplifiers 202 a-202 c stay set with the data bit values stored in memory cells 132 b, 132 d, and 132 f along WL_F 128 f.

At 604, the data bit values stored in memory cells 132 b, 132 d, and 132 f are written to memory cells 132 m, 132 o, and 132 q along WL_TC1 128 i by activating WL_TC1 128 i while sense amplifiers 202 a-202 c are still set. The data written to memory cells 132 m, 132 o, and 132 q is also transferred to memory cells 132 n, 132 p, and 132 r. At 606, all the word lines are deactivated and the equalization and precharge circuits equalize the voltage on bit lines 130 e-130 j. At 608, after the precharge time (tRP) expires, WL_TC2 128 j is activated to enable sense amplifiers 202 a-202 c to sense the logical data bit values stored in transfer memory cells 132 n, 132 p, and 132 r along bit lines 130 f, 130 h, and 130 j thus inverting the logical data bit values. At 610, the data bit values stored in memory cells 132 n, 132 p, and 132 r along WL_TC2 128 j are written to memory cells 132 b, 132 d, and 132 f along WL_F 128 f by activating WL_F 128 f while sense amplifiers 202 a-202 c are still set. At 612, all the word lines are deactivated and the equalization and precharge circuits equalize the voltage on bit lines 130 e-130 j. In one embodiment, blocks 602 through 612 are performed in approximately two times the activate and deactivate time (tRC) for a word line or approximately 150 ns. Therefore, the operations do not disrupt the normal refresh cycle, which is typically about 20 μs between word line activations in self refresh.

At 614, the latch 504 f for WL_F 128 f is set to indicate inverted data is written on WL_F 128 f by providing a set/reset signal on signal path 502 f. In another embodiment, the address of WL_F 128 f is stored in a central latch. Therefore, if WL_F 128 f is accessed in the future, latch 504 f or the central latch outputs a signal on signal path 506 to invert the data in data circuit 508.

Embodiments of the present invention provide a method for error detection and correction by rapid generation of parity information for entire word lines during self refresh. The error correction is based on the inversion of data along faulty word lines and for the instant inversion for all data along a word line. The operations are non-disruptive to the normal operation of the DRAM; in particular, they do not negatively affect the self refresh exit timing. The overhead of the present invention is minimal. Embodiments of the invention use one parity register per word line, one optional spare word line, and two transfer word lines per sense amplifier segment. 

1. A memory comprising: a sense amplifier segment; a plurality of word lines including a first transfer word line and a second transfer word line complementary to the first transfer word line; a plurality of bit lines coupled to the sense amplifier segment; and a memory cell located at each cross point of each word line and each bit line, wherein the first transfer word line and the second transfer word line are adapted for simultaneously inverting data bit values stored in memory cells along a failed word line to correct a parity error during self refresh.
 2. The memory of claim 1, wherein the inverted data bit values are stored in the memory cells along the failed word line.
 3. The memory of claim 2, further comprising: a latch configured to indicate the failed word line for re-inverting the inverted data bit values stored in memory cells along the failed word line in a data path during a memory access.
 4. The memory of claim 1, wherein the first transfer word line and the second transfer word line are adapted to correct parity errors without knowing a location of a failed memory cell along the failed word line.
 5. The memory device of claim 1, wherein the memory is a dynamic random access memory.
 6. A memory comprising: a sense amplifier segment; a plurality of word lines including a first transfer word line and a second transfer word line; a plurality of bit lines coupled to the sense amplifier segment; a memory cell located at each cross point of each word line and each bit line; and a latch configured to indicate a failed word line, wherein a memory cell located along the first transfer word line coupled to a first sense amplifier is electrically shorted to a memory cell located along the second transfer word line coupled to the sense amplifier for inverting data bit values stored in memory cells along the failed word line to correct a parity error during self refresh, and wherein the inverted data bit values are stored in the memory cells along the failed word line.
 7. The memory of claim 6, wherein the first transfer word line and the second transfer word line are adapted to correct parity errors without knowing a location of a failed memory cell along the failed word line.
 8. The memory of claim 6, wherein the plurality of word lines comprises true word lines and complement word lines.
 9. The memory of claim 6, wherein the plurality of bit lines comprises true bit lines and complement bit lines.
 10. The memory of claim 6, wherein the memory is a dynamic random access memory.
 11. A memory comprising: means for simultaneously inverting data bit values stored in memory cells along a failed word line to correct for a parity error during self refresh; and means for storing the inverted data bit values in the memory cells along the failed word line.
 12. The memory of claim 11, further comprising: means for indicating that the data bit values stored in the memory cells along the failed word line are inverted.
 13. The memory of claim 11, further comprising: means for re-inverting the data bit values stored in the memory cells along the failed word line during a memory access to provide corrected data bit values.
 14. A method for correcting for a parity error in a memory, the method comprising: reading data bit values stored in memory cells along a failed word line; writing the read data bit values to transfer memory cells along a first transfer word line; reading data bit values stored in transfer memory cells along a second transfer word line complementary to the first transfer word line thus inverting the data bit values; and writing the inverted data bit values to the memory cells along the failed word line.
 15. The method of claim 14, further comprising: setting a latch indicating that the data bit values stored in the memory cells along the failed word line are inverted.
 16. The method of claim 14, further comprising: re-inverting the data bit values stored in the memory cells along the failed word line to provide corrected data bit values in response to a user access.
 17. The method of claim 14, wherein the method is performed during self refresh without affecting timing of the self refresh.
 18. The method of claim 17, wherein the method is performed without affecting an exit timing of the self refresh.
 19. A method for correcting for a parity error in a memory, the method comprising: sensing data bit values stored in memory cells along a failed word line with sense amplifiers; writing the sensed data bit values to transfer memory cells along a first transfer word line by activating the first transfer word line with the sense amplifiers still set; sensing data bit values stored in transfer memory cells along a second transfer word line complementary to the first transfer word line thus inverting the data bit values; and writing the inverted data bit values to the memory cells along the failed word line by activating the failed word line with the sense amplifiers still set.
 20. The method of claim 19, further comprising: setting a latch indicating that the data bit values stored in the memory cells along the failed word line are inverted.
 21. The method of claim 19, further comprising: re-inverting the data bit values stored in the memory cells along the failed word line to provide corrected data bit values in response to a user access.
 22. The method of claim 19, wherein the method is performed during self refresh without affecting timing of the self refresh.
 23. The method of claim 19, wherein the method is performed without affecting an exit timing of the self refresh. 